package com.chaoyi.service;

import java.io.IOException;
import java.util.List;

import javax.servlet.http.Part;

import com.chaoyi.model.Appointment;

public interface AppointmentService {

	List<Appointment> findList(String offset, String limit);

	int findCount();

	int saveAppointment(Appointment appointment);

	String uploadClassifyImg2WSCDN(Part uploadFile) throws IOException, Exception;

	Appointment findAppointmentOne(int id);

	int alertAppointmentSave(Appointment appointment);

	int deleteAppointment(int id);

}
